<?php
//------------------------
// 商品规格验证器
//-------------------------

namespace app\common\validate;

use think\Validate;

class GoodsSpec extends Validate
{
    protected $rule = [
        'price|规格价格'   => 'require|float',
        'store_count|库存' => 'require|number',
        'sku|规格单位'     => 'max:32',
    ];



}